<html>
<head>
	<title>Excersise 5</title>
	<link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<script src="scripts/js-console.js"></script>
	<script>

	for (var i = 0; i<10;i++)
	{
		switch (i)
		{
			case 0: jsConsole.writeLine("name of digit " + i + " is zero");break;
			case 1: jsConsole.writeLine("name of digit " + i + " is one");break;
			case 2: jsConsole.writeLine("name of digit " + i + " is two");break;
			case 3: jsConsole.writeLine("name of digit " + i + " is three");break;
			case 4: jsConsole.writeLine("name of digit " + i + " is four");break;
			case 5: jsConsole.writeLine("name of digit " + i + " is five");break;
			case 6: jsConsole.writeLine("name of digit " + i + " is six");break;
			case 7: jsConsole.writeLine("name of digit " + i + " is seven");break;
			case 8: jsConsole.writeLine("name of digit " + i + " is eight");break;
			case 9: jsConsole.writeLine("name of digit " + i + " is nine");break;
		}
	}	

	</script>
</body>
</html>
